package cn.getech.data.metadata.constant;

import lombok.Getter;

/**
 * @description: 是否常量
 * @author: wangzhaowen：kiss
 * @create: 2020/7/30 15:36
 * @version: 2020/7/30
 **/
@Getter
public enum YesOrNoEnum {
    YES(1,"是"),
    NO(0,"否"),
    ;
    private Integer value;
    private String desc;

    YesOrNoEnum(Integer value, String desc) {
        this.value = value;
        this.desc = desc;
    }
}
